<!DOCTYPE html>
<html xmlns:shiro="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="@{include}::header"></head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <fieldset class="table-search-fieldset">
            <legend>搜索信息</legend>
            <form class="layui-form layui-form-pane" action="">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <select name="shopId" id="shopId" lay-search="">
                            <option value="">请选择商铺名称</option>
                            <th:block th:each="d : ${shops}">
                                <option th:value="${d.id}" th:text="${d.shopName}" th:selected="${d.id eq shopId}"></option>
                            </th:block>
                        </select>
                    </div>
                    <div class="layui-inline">
                        <label style="width: 100px;" class="layui-form-label">开始时间</label>
                        <div class="layui-input-inline" style="width:120px;">
                            <input type="text" name="begin_date" id="begin_date" th:value="${begin_date}" placeholder="请选择开始时间" autocomplete="off" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label style="width: 100px;" class="layui-form-label">结束时间</label>
                        <div class="layui-input-inline" style="width:120px;">
                            <input type="text" name="end_date" id="end_date" th:value="${end_date}" placeholder="请选择结束时间" autocomplete="off" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button type="submit" class="layui-btn layui-btn-primary  layui-btn-sm" lay-submit lay-filter="data-search-btn">
                            <i class="layui-icon"></i> 搜 索</button>
                    </div>
                </div>
            </form>
        </fieldset>
        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <button class="layui-btn layui-btn-sm data-add-btn" lay-event="back">
                    <i class="fa fa-reply" aria-hidden="true"></i>&nbsp;返回
                </button>
                <button class="layui-btn layui-btn-sm data-add-btn"lay-event="export">批量导出</button>
            </div>
        </script>
        <table class="layui-hide" id="exampleTable" lay-filter="currentTableFilter"></table>
        <script type="text/html" id="currentTableBar">
<!--            <a class="layui-btn layui-btn-xs data-count-edit" shiro:hasPermission="module:shop:edit" lay-event="edit">编辑</a>-->
<!--            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" shiro:hasPermission="module:shop:remove" lay-event="delete">删除</a>-->
        </script>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div th:include="@{include}::footer"></div>
<script type="text/javascript" th:src="@{/js/appjs/module/shop/firework/record.js}"></script>
</body>
</html>
